package com.GB26875_3_2011.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 蒋仕国
 * @projectName GB26875_3_211
 * @ClassName GB26875Constant
 * @date 2025-01-10 15:29
 * @Description: TODO []
 */

public interface GB26875Constant {
    // 报文开始标志
    byte[] MESSAGE_START_FLAG = {'@','@'};
    String MESSAGE_START_FLAG_HEX = "4040";
    // 报文结束标志
    byte[] MESSAGE_END_FLAG = {'#','#'};
    String MESSAGE_END_FLAG_HEX = "2323";
    // 最小的消息内容体
    int MESSAGE_HEADER_LENGTH = 27;
    // 消息时间formatter yyyy-MM-dd HH:mm:ss
    String MESSAGE_DATA_FORMAT = "ssmmHHddMMyy";
    // 解析字符串转换
    String DATA_FORMAT = "ssmmHHddMMyyyy";
    // 基础年份就取2000
    int BASE_YEARS = 2000;

}
